package cn.edu.fjzzit.web.myhotel.mapper;

import cn.edu.fjzzit.web.myhotel.model.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserRoleMapper {
    int insert(UserRole record);
    int remove(@Param("userId") Integer userId);
   // List<String> queryRoleNameByUserId(@Param("user"))

    //List<String> findUserRolesByUserID(@Param("userID") Integer userId);
   // int deleteUserInfoByUserID(@Param("userID")int userID);
}